#include "MyArray.h"

//
//template <class T>
//MyArray<T>::MyArray(void)
//{
//	this->m_count = 0;
//	this->m_data = new T[MAX_COUNT];
//}


//template <class T>
//MyArray<T>::~MyArray(void)
//{
//	delete []this->m_data;
//}


//template <class T> 
//void MyArray<T>::add(T t)
//{
//	if(m_count == MAX_COUNT)
//	{
//		cout<<"Khong the them phan tu vao mang "<<endl;
//		return;
//	}
//	this->m_data[m_count] = t;
//	m_count ++;
//}


//template <class T> 
//int MyArray<T>::getCount()
//{
//	this->m_count;
//}

//template <class T> 
//void MyArray<T>::sort(Sort<T> *s)
//{
//	s->sortArray(this->m_data);
//}

//template <class T> 
//ostream & operator << (ostream & os,const MyArray<T> & arr)
//{
//	for(int i=0;i<arr.m_count;i++)
//	{
//		os<<arr.m_data[i] <<"  ";
//	}
//	os<<endl;
//	return os;
//}